package com.zsy.service;

import com.zsy.entity.Official;
import com.zsy.entity.Plan;
import com.zsy.entity.Research;
import com.zsy.utils.PageBean;
import com.zsy.utils.Result;


public interface IResearchService {
//    添加研发数据
    Result insertResearch(Research research);
    Result selectRes(Research research);
    //    查询数据与条数
    Result selectResearch(Research research);
        //    删除数据：修改状态码
    Result deleteResearch(Integer[] researchId);
//修改申请研发数据
    Result updateResearch(Research research);

    //添加研发计划
    Result insertPlan(Plan plan);
//删除计划
    Result deletePlan(Integer[] planId);
    //    //查询研发计划
    Result selectPlan(Plan plan);
//    修改计划
    Result updatePlan (Plan plan);

//  添加文案
    Result addOffice(Official official);
//查看文案
    Result selectOfficial(Official official);
    Result delofficlal (Integer[] officialId);

    PageBean<Research> list(Integer pageNum, Integer pageSize, Integer estimatedHeadcount, String rdCity, String rdType);


}
